const express = require('express')

const javascriptRouter = express.Router()

/* 单选与全选按钮 */
javascriptRouter.get('/selectCheckBox', (req, res) => {
    res.render('index', { url: './js/selectCheckBox' })
})

javascriptRouter.get('/selectBall', (req, res) => {
    res.render('index', { url: './js/selectBall' })
})


javascriptRouter.get('/selectName', (req, res) => {
    res.render('index', { url: './js/selectName' })
})

javascriptRouter.get('/album', (req, res) => {
    res.render('index', { url: './js/album' })
})

javascriptRouter.get('/picture', (req, res) => {
    res.render('index', { url: './js/picture' })
})

javascriptRouter.get('/form', (req, res) => {
    res.render('index', { url: './js/form' })
})

javascriptRouter.get('/knowledge', (req, res) => {
    res.render('index', { url: './js/knowledge' })
})
javascriptRouter.get('/lazy', (req, res) => {
    res.render('index', { url: './js/lazy' })
})
javascriptRouter.get('/null', (req, res) => {
    res.render('index', { url: './js/null' })
})
module.exports = javascriptRouter;